<%@page import="bean.B01boardVO"%>
<%@page import="bean.B01boardDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>rep_Input.jsp</title>
<link rel="stylesheet" href="/Web/02CSS/B01board.css">
<script src = '/Web/03JavaScript/B01board.js'></script>
<style>
.lbl{
	display : inline-block;
	width : 100px;
	text-align : right;
	marigin : 3px;}
</style>
</head>
<body>
<jsp:useBean id="vo" class="bean.B01boardVO" scope="page"/>
<jsp:setProperty property="*" name="vo"/>
<%
B01boardDTO dto = new B01boardDTO();
dto.setVo(vo);
B01boardVO v = dto.selectOne();

%>

<%-- <form name="hiddenFrm" method="post">
		<input type='hidden' name='b_number' value="<%=vo.getB_number()%>"/>
		<input type="hidden" name="nowPage"	value="<%=vo.getNowPage()%>"/> <!-- 값이 rep_input_result로 넘어간다  -->
		<input type="hidden" name='find' value='<%=vo.getFind()%>'/>
</form> --%> 

<h1> 답변글 작성 </h1>
답변내용을 입력해주세요.  
<%=vo.getB_number()%>
<hr>
<br>
<form action="index.jsp?inc=/04JSP/01Board/rep_input_result.jsp" name = 'reply_form' method="post" enctype="multipart/form-data">
<label class = 'lbl'>아 이 디</label>
<input type = 'text' size = '10' name ='m_id' maxlength ='20' style="margin-bottom: 3px;"/><br/>
<label class = 'lbl'>비밀번호</label>
<input type = 'password' size = '10' name ='b_pw' maxlength ='20' style="margin-bottom: 3px;"/><br/>
<label class = 'lbl'>비밀번호확인</label>
<input type = 'password' size = '10' name ='b_pwcheck' maxlength ='20' style="margin-bottom: 3px;"/><br/>
<label class = 'lbl'>제 목</label>
<input type = "text" size = '60' name ='b_title' style="margin-bottom: 3px;"/><br/>
<label class = 'lbl'>내 용</label><br/>
<textarea cols="80" name="b_content" rows="20" style="margin-left: 104px;" ></textarea><br/>
<label class = 'lbl'>이미지 전송</label>
<input type = "file" name ='b_image' style="margin-bottom: 3px;"/><br/>
<input type='hidden' name='b_number' value="<%=vo.getB_number()%>"/>

<br>
<hr/>
<div id ="bottom" > 

	<input type ="button" 	value="새 글쓰기" 	id="btnInput">
	<input type ="button" 	value="글 삭제" 	id="btnDelete">
	<input type="button" id="btnList" value="목록으로" style="margin-right: 460px;"/>
	<input type="button" id="btnRep_input" value="답변작성완료" /></div>
</form>
<br>
</body>
<script>replyInit();</script>
</html>